package com.ninechapters.trilobites.newsreader.events
{
	import com.ninechapters.trilobites.newsreader.model.NewsSource;
	
	import flash.events.Event;
	
	public class NewsSourceEvent extends Event
	{
		public var newsSource:NewsSource;
		
		public function NewsSourceEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false, newsSource:NewsSource=null)
		{
			super(type, bubbles, cancelable);
			this.newsSource = newsSource;
		}
		
		override public function clone() : Event
		{
			return new NewsSourceEvent(type, bubbles, cancelable, personValue, timeValue);
		}
	}
}